package com.service.impl;

import com.domain.Type;
import com.mapper.TypeMapper;
import com.service.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Resource
    private TypeMapper typeMapper;

    //查询所有类型数据
    public List<Type> findAllType(){
        return typeMapper.findAllType();
    }
}
